package cn.com.egova.service;

import cn.com.egova.dao.DictDao;
import cn.com.egova.domain.Dict;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by yuanchao on 2020/5/24.
 */
@Transactional
public class DictServiceImpl implements DictService {
    private DictDao dictDao;

    public void setDictDao(DictDao dictDao) {
        this.dictDao = dictDao;
    }

    @Override
    public List<Dict> findByCode(String dict_type_code) {
        return dictDao.findByCode(dict_type_code);
    }
}
